/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package FrameWork;

import java.io.IOException;
import javax.microedition.lcdui.Image;

/**
 *
 * @author ThanhTri
 */
public class RSParticle {
    
    private Image m_Yellow;
    private Image m_Bubble;
    
    private static RSParticle instance = null;
    public static RSParticle getRS () throws IOException{
         if( instance == null){
             instance =  new RSParticle();
         }
         return instance;
    }
    private RSParticle () {
        try {
            m_Yellow = Image.createImage("/Image/par_yellow.png");
            m_Bubble = Image.createImage("/Image/par_bubble.png");
        } catch (final IOException ex) {
                ex.printStackTrace();
            }
       
    }
    public Image getYellow (){
        return m_Yellow;
    }
    public Image getBubble (){
        return m_Bubble;
    }
}
